﻿<%@ Control Language="C#" EnableViewState="true" %>
<%@ Register Assembly="Antu.WebControls" Namespace="Antu.WebControls" TagPrefix="CBW" %>
<style type="text/css">
    #ctl00_MainerRegion_ZS_BCFAControl___GridList_Div1
    {
        border-collapse: collapse;
        border: 1px solid #74a4c0;
        background-color: #FFFFFF;
        text-align: center;
        color: #a30101;
    }
</style>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-image: url(<%= Antu.Core.Components.SiteSettings.DefaultSiteSettings.DefaultThemeFolderMapPath %>images/menuthb.png);
    margin-top: 1px">
    <tr>
        <td valign="middle" height="30">
            <font id="Font1" style="font-size: 14px; font-weight: bold; color: #3E7CC3; float: left;
                color: black; text-indent: 1em;" runat="server">数据字典 </font>
        </td>
    </tr>
</table>
<table class="window_tab_list" cellpadding="0" cellspacing="0" border="0" width="100%"
    align="center">
    <tr>
        <td height="30" style="text-align: left">
            <img src="<%= Antu.Core.Components.SiteSettings.DefaultSiteSettings.DefaultThemeFolderMapPath %>images/arrowright.gif" align="absmiddle" />&nbsp;<a href="EditParams.aspx"><asp:Label
                ID="showaddzd" runat="server" Text="添加字典"></asp:Label></a> </a>
            <asp:DropDownList AutoPostBack="true" ID="sysparamtypelist" runat="server">
                <asp:ListItem Text="全部" Value="全部"></asp:ListItem>
            </asp:DropDownList>
        </td>
    </tr>
</table>
<table class="window_tab_list" cellpadding="0" cellspacing="0" border="0" width="100%" align="center"
    style="margin-top: 3px">
    <tr>
        <th width="200px">
            字典名称
        </th>
        <th>
            字典键名
        </th>
        <th width="150px">
            字典键值
        </th>
        <th width="100px">
            字典排序
        </th>
        <th width="150px">
            操作
        </th>
    </tr>
    <CBW:MPRepeater ID="MPRepeaterList" runat="server">
        <EmptyDataTemplate>
            <tr>
                <td colspan="4">
                    暂无相关数据！
                </td>
            </tr>
        </EmptyDataTemplate>
        <ItemTemplate>
            <tr>
                <td align="center">
                    <%#Eval("NAME")%>
                </td>
                <td align="center">
                    <%#Eval("KEYNAME")%>
                </td>
                <td align="center">
                    <%#Eval("KEYVALUE")%>
                </td>
                <td align="center">
                    <%#Eval("ORDERID")%>
                </td>
                <td align="center">
                    <a href="EditParams.aspx?action=edit&id=<%#Eval("id") %>&isuser=<%=Request["isuser"] %>">
                        编辑</a>&nbsp;<a href="EditParams.aspx?action=del&id=<%#Eval("id") %>" onclick="return confirm('确定要删除？')"><asp:Label ID="showdel"
                           runat="server" Text="删除"></asp:Label></a>
                </td>
            </tr>
        </ItemTemplate>
    </CBW:MPRepeater>
    <tr>
        <td colspan="5" style="text-align: center">
            <asp:Label ID="pagestr" runat="server"></asp:Label>
        </td>
    </tr>
</table>
